|
|
|
|
LinearGradientMode Property, RowHeadersClass Class |
Defines the linear gradient mode used to render the available background area in cells in the row header area.
Syntax RowHeadersClass Class (Softelvdm.SftTreeNET)
VB |
Public Property LinearGradientMode As LinearGradientMode |
C# |
public LinearGradientMode LinearGradientMode { get; set; } |
C++ |
public: property LinearGradientMode LinearGradientMode { |
Property Value
The linear gradient mode.
LinearGradientMode |
Value |
Description |
Horizontal | 0 | Specifies a gradient from left to right. |
Vertical | 1 | Specifies a gradient from top to bottom. |
ForwardDiagonal | 2 | Specifies a gradient from upper left to lower right. |
BackwardDiagonal | 3 | Specifies a gradient from upper right to lower left. |
The default value is LinearGradientMode.Horizontal.
Comments
The LinearGradientMode property defines the linear gradient mode used to render the available background area in cells in the row header area.
If the background colors are defined with starting and ending values (usually CellBaseClass.BackColor and CellBaseClass.BackColorEnd), the available area is rendered using a gradient fill.
The defined linear gradient mode is only used if the row header's appearance is defined as BackgroundAppearanceEnum.Clean. BackgroundAppearanceEnum.ButtonPlain or BackgroundAppearanceEnum.HeaderEmptyArea (AppearanceDefault or CellBaseClass.Appearance).